* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #0280ff;
    font-family: 'Nunito', 'Times New Roman';
    scroll-behavior: smooth;

}


/* -------------------------------------- MAIN --------------------------------------- */

/* -------------------------- HERO IMAGE -------------------------- */
.hero-image {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    margin-bottom: -70px;
    z-index: 0;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-characters {
    position: absolute;
    bottom: -39%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 120%;
    z-index: 1;
}

.hero-char {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: default;
    flex-shrink: 0;
    max-width: none;
}

.hero-char-left {
    z-index: 1;
    margin-left: 500px;
    margin-right: -10px;
}

.hero-char-center {
    z-index: 3;
    transform: scale(1.10);
}

.hero-char-right {
    z-index: 2;
    margin-left: -10px;

}

.hero-char.hover-active {
    transform: scale(1.20);
    z-index: 10;
}

.hero-char-center.hover-active {
    transform: scale(1.35);
    cursor: pointer;

}


.hero-buttons {
    position: absolute;
    top: 89%;
    left: 3%;
    display: flex;
    gap: 15px;
    z-index: 5;
}

.hero-buttons a {
    text-decoration: none;
    display: flex;
    gap: 5px;
    padding: 14px 25px;
    justify-self: center;
    align-self: center;
    font-family: 'Nunito', Times New Roman;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-buttons img{
    height: 25px;
    width: auto;
    align-self: center;
}

.button-presskit{
    background-color: #f7fdff;
    color: #333;
}
.button-epic{
    background-color: #323232;
    color: #f7fdff;
}

.button-itchio{
    background-color: #ff5b5a;
    color: #f7fdff;
}

.button-discord{
    background-color: #5865f2;
    color: #f7fdff;
}

.hero-buttons a:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

@keyframes arrow-bounce {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(12px); }
    100% { transform: translateY(0); }
}

.arrow-wrapper {
    position: absolute;
    left: 47%;
    bottom: 3%;
    animation: arrow-bounce 1.5s infinite ease-in-out;
}

.arrow-down {
    text-decoration: none;
    background: #0280ff;
    color: #f7fdff;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.arrow-down:hover {
    transform: scale(1.2) rotate(10deg);
}

.arrow-down span {
        font-size: 45px;
    display: inline-block;
    transform: rotate(90deg) translateX(6px);
}


/* -------------------------- HOLA -------------------------- */
.casa {
    display: none;
}


.clouds-decoration {
    width: 100%;
    height: 200px;
    display: block;
    background-image: url('../resources/ui/navegador/nube.png');
    background-repeat: repeat-x;
    background-size: 250px auto;
    background-position: left bottom;
    position: relative;
    margin-top: -150px;
    margin-bottom: -100px;
    z-index: 10;
    pointer-events: none;
}

#content {
    scroll-margin-top: 20px; 
}

.hola-som-coolom {
    width: 75%;
    max-width: 1200px;
margin: 230px auto 80px auto;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    text-align: center;
    border-radius: 40px;
    background-color: #f7fdff;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.hola-som-coolom::before {
    content: '';
    position: absolute;
    bottom: -70px;
    left: 0;
    right: 0;
    height: 6px;
    box-shadow: 0 2px 15px rgba(2, 128, 255, 0.4);
}

.hola-som-coolom::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
}

.hola-som-coolom img {
    height: 160px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    animation: logoFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 0;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(2deg);
    }

    75% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

.hola-som-coolom h1 {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 64px;
    font-weight: normal;
    background: #006ad5;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    margin: 0;
    position: relative;
    z-index: 0;
}

.hola-som-coolom p {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    line-height: 1.8;
    max-width: 700px;
    margin: 0;
    position: relative;
    z-index: 0;
}

.hola-som-coolom a {
    background-color: #0280ff;
    opacity: 1;
    color: #f7fdff;
    font-weight: 900;
    font-family: 'Nunito', 'Times New Roman';
    font-size: 18px;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease, background-size 0.5s ease;

    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hola-som-coolom a::after {
    content: '';
    position: absolute;
    background-size: 250px;
    background-repeat: repeat;
    background-blend-mode: overlay;
    background-position: center;
    top: 0;
    left: 0;
    background-image: url('../resources/ui/patterns/pattern_pigeons_black.png');
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
    border-radius: 50px;
    transition: background-size 0.5s ease;
}

.hola-som-coolom a::before {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #0280ff;
    transition: left 0.5s ease;
}

.hola-som-coolom a:hover::before {
    left: 100%;
}

.hola-som-coolom a:hover {
    transform: translateY(-3px) scale(1.05);
    background-size: 300px;
}

.hola-som-coolom a:active {
    transform: translateY(-1px) scale(1.03);
    background-size: 300px;

}

.hola-som-coolom a:hover::after {
    background-size: 300px;
}

/* -------------------------- GAMES CAROUSEL -------------------------- */

.div-games-carousel {
    background-color: #f7fdff;
    margin: 80px auto 120px;
    padding: 80px 0;
    transform: skewY(2deg);
    position: relative;
    overflow: hidden;

}

.div-games-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../resources/ui/patterns/pattern_pigeons_black.png');
    background-size: 600px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}


.games-carousel-wrapper {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1600px;
    justify-self: center;
    border-radius: 30px;
    transform: skewY(-2deg);
}

.carousel-title {
    text-align: center;
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 48px;
    color: #f7fdff;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.games-carousel {
    position: relative;
    width: 100%;
    max-width: 1500px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 20px 10px;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 50px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 40px 0;
}

.carousel-slide {
    min-width: calc(45% - 25px);
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: #f7fdff;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 -100px 80px rgba(0, 0, 0, 0.6);
}

.carousel-slide:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.carousel-slide:hover::before {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-slide:hover img {
    transform: scale(1.1);
}

.carousel-arrow {
    background: #0280ff;
    color: #f7fdff;
    border: #0280ff;
    font-size: 28px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease-out;
    z-index: 10;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: rgba(2, 128, 255, 0.3);
    touch-action: manipulation;
}

.carousel-arrow::before {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.5s ease;
}

@media (hover: hover) {
    .carousel-arrow:hover {
        background: #0280ff;
        transform: scale(1.2) rotate(10deg);
    }
    
    .carousel-arrow:active {
        transform: scale(1.15) rotate(5deg);
        transition: all 0.1s ease-in;
    }
}

.carousel-arrow:active {
    transform: scale(1.15) rotate(5deg);
    transition: all 0.1s ease-in;
}

.game-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f7fdff;
    font-family: 'Nunito', 'Times New Roman';
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease;
    text-shadow:
        0 4px 15px rgba(0, 0, 0, 1),
        0 8px 30px rgba(0, 0, 0, 0.8),
        0 12px 50px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.carousel-slide:hover .game-title {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

/* -------------------------- HOME BLOG SECTION -------------------------- */

.home-blog-section {
    width: 90%;
    max-width: 1200px;
    margin: 80px auto;
    position: relative;
    z-index: 10;
}

.section-title {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 42px;
    color: #f7fdff;
    text-align: center;
    margin-bottom: 35px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.home-blog-card {
    background-color: #f7fdff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 10px;
    max-width: 320px;
    justify-self: center;
}

.home-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.blog-card-image {
    height: 140px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 11px;
    color: #0280ff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.blog-card-content h3 {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.1;
}

.blog-card-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.blog-link {
    text-decoration: none;
    color: #0280ff;
    font-weight: 800;
    font-size: 14px;
    align-self: flex-start;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #004b97;
    text-decoration: underline;
}

.view-all-container {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn {
    display: inline-block;
    padding: 10px 32px;
    background-color: transparent;
    border: 2px solid #f7fdff;
    color: #f7fdff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 16px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: #f7fdff;
    color: #0280ff;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        gap: 15px;
    }

    .home-blog-card {
        margin: 0 5px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .home-blog-section {
        margin: 50px auto;
    }

    .blog-card-image {
        height: 120px;
    }

    .blog-card-content {
        padding: 15px;
    }

    .blog-card-content h3 {
        font-size: 18px;
    }

    .blog-card-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .blog-link {
        font-size: 13px;
    }

    .view-all-btn {
        font-size: 15px;
        padding: 9px 28px;
    }
}
/* ======================== RESPONSIVE HOME ======================== */

@media (max-width: 1024px) {
    .hero-char-left {
        margin-left: 300px;
    }

    .hero-buttons {
        left: 2%;
        gap: 10px;
    }

    .hero-buttons a {
        font-size: 16px;
        padding: 12px 20px;
    }

    .hero-buttons img {
        height: 22px;
    }

    .hola-som-coolom {
        width: 85%;
        padding: 60px 40px;
    }

    .hola-som-coolom h1 {
        font-size: 48px;
    }

    .hola-som-coolom p {
        font-size: 18px;
    }

    .carousel-slide {
        min-width: calc(60% - 25px);
    }
}

@media (max-width: 768px) {
    .hero-image {
        height: 70vh;
        margin-bottom: -50px;
    }
    body{
            background-size:600px;

    }

    .hero-char-left,
    .hero-char-right {
        display: none;
    }

    .hero-char-center {
        transform: scale(1.0);
    }

    .hero-char-center.hover-active {
        transform: scale(1.15);
    }

    .hero-characters {
        bottom: -35%;
    }

    .hero-buttons {
        top: auto;
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 90%;
        max-width: 400px;
    }

    .hero-buttons a {
        font-size: 14px;
        padding: 12px 15px;
        justify-content: center;
    }

    .hero-buttons img {
        height: 20px;
    }

    .arrow-wrapper {
        bottom: 1%;
        left: 50%;
        transform: translateX(-50%);
    }

    .arrow-down {
        width: 60px;
        height: 60px;
    }

    .arrow-down span {
        font-size: 30px;
    }

    .hola-som-coolom {
        width: 90%;
        margin-top: 150px;
        padding: 40px 30px;
        gap: 25px;
    }

    .hola-som-coolom img {
        height: 100px;
    }

    .hola-som-coolom h1 {
        font-size: 36px;
    }

    .hola-som-coolom p {
        font-size: 16px;
        line-height: 1.6;
    }

    .hola-som-coolom a {
        font-size: 16px;
        padding: 14px 35px;
    }

    .div-games-carousel {
        padding: 40px 0;
        margin-top: 50px;
    }

    .games-carousel-wrapper {
        width: 100%;
        padding: 0 10px;
    }

    .carousel-track {
        gap: 20px;
        padding: 20px 0;
    }

    .carousel-slide {
        min-width: 100%;
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .carousel-slide::before {
        box-shadow: inset 0 -80px 60px rgba(0, 0, 0, 0.7);
        opacity: 1;
    }

    .carousel-slide img {
        height: 180px;
    }

    .game-title {
        font-size: 22px;
        opacity: 1;
        text-shadow:
            0 2px 8px rgba(0, 0, 0, 1),
            0 4px 15px rgba(0, 0, 0, 0.8);
    }

    .home-blog-section {
        width: 95%;
        margin: 60px auto;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .home-blog-grid {
        gap: 20px;
    }
}

@media (max-width: 470px) {
    .hero-image {
        height: 60vh;
    }

    .hero-characters {
        bottom: -30%;
        height: 110%;
    }

    .hero-buttons {
        gap: 10px;
        width: 95%;
    }

    .hero-buttons a {
        font-size: 12px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .hero-buttons img {
        height: 18px;
    }

    .arrow-wrapper {
        bottom: 0.5%;
    }

    .arrow-down {
        width: 50px;
        height: 50px;
    }

    .arrow-down span {
        font-size: 25px;
        transform: rotate(90deg) translateX(4px);
    }

    .hola-som-coolom {
        justify-self: center;
        margin-top: 120px;
        padding: 30px 20px;
        gap: 20px;
        border-radius: 25px;
    }

    .hola-som-coolom img {
        height: 80px;
    }

    .hola-som-coolom h1 {
        font-size: 28px;
    }

    .hola-som-coolom p {
        font-size: 14px;
    }

    .hola-som-coolom a {
        font-size: 14px;
        padding: 12px 28px;
    }

    .div-games-carousel {
        padding: 30px 0;
        margin-top: 40px;
    }

    .games-carousel-wrapper {
        padding: 0 5px;
    }

    .carousel-track {
        gap: 15px;
        padding: 15px 0;
    }

    .carousel-slide {
        border-radius: 12px;
    }

    .carousel-slide img {
        height: 160px;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .game-title {
        font-size: 20px;
    }

    .home-blog-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .section-title {
        font-size: 26px;
    }

    .blog-card-image {
        height: 110px;
    }

    .blog-card-content {
        padding: 15px;
    }

    .blog-card-content h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .blog-card-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .blog-link {
        font-size: 13px;
    }

    .view-all-btn {
        font-size: 15px;
        padding: 10px 28px;
    }
}

@media (max-width: 400px) {
    .hero-image {
        height: 55vh;
    }

    .hero-buttons a {
        font-size: 20px;
        padding: 8px 10px;
    }

    .hero-buttons img {
        height: 16px;
    }

    .hola-som-coolom {
        width: 80%;
        margin-top: 100px;
        padding: 25px 15px;
    }

    .hola-som-coolom img {
        height: 70px;
    }

    .hola-som-coolom h1 {
        font-size: 24px;
    }

    .hola-som-coolom p {
        font-size: 13px;
    }

    .div-games-carousel {
        padding: 25px 0;
        margin-top: 35px;
    }

    .carousel-track {
        gap: 10px;
        padding: 12px 0;
    }

    .carousel-slide img {
        height: 160px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .game-title {
        font-size: 18px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .blog-card-image {
        height: 100px;
    }

    .blog-card-content {
        padding: 12px;
    }

    .blog-card-content h3 {
        font-size: 16px;
    }

    .blog-card-content p {
        font-size: 12px;
    }

    .blog-link {
        font-size: 12px;
    }
    

    .view-all-btn {
        font-size: 14px;
        padding: 9px 25px;
    }
}